package com.xms.schema.service.relationship;

import com.xms.datacore.service.IFinderService;
import com.xms.schema.entity.RelationShip;

import java.util.List;
import java.util.UUID;

/**
 * <p>
 * IRelationShipFinderService
 * </p>
 *
 * @author migo
 * @since 2021/9/8
 */
public interface IRelationShipFinderService extends IFinderService<RelationShip> {
    RelationShip getByName(String name);
    List<RelationShip> getByReferencingEntityId(UUID entityid);
    List<RelationShip> getByReferencedEntityId(UUID entityid);
}
